body {
  color: #666;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  color: #111;
}

.l-box {
  padding: 2em;
}

.header .pure-menu {
  border-bottom-color: black;
  border-radius: 0;
}

.photo-box,
.text-box {
  overflow: hidden;
  position: relative;
  height: 250px;
  text-align: center;
}

.photo-box-thin {
  height: 120px;
}

.photo-box img {
  max-width: 100%;
  height: auto;
  min-height: 250px;
}

.photo-box aside {
  position: absolute;
  bottom: 0;
  right: 0;
  padding: 1em 0.5em;
  color: white;
  width: 100%;
  font-size: 80%;
  text-align: right;
  background: -moz-linear-gradient(top, rgba(16, 27, 30, 0) 0%, rgba(12, 2, 2, 1) 90%); /* FF3.6+ */
  background: -webkit-gradient(linear, left top, left bottom, color-stop(0%, rgba(16, 27, 30, 0)), color-stop(90%, rgba(12, 2, 2, 1))); /* Chrome, Safari4+ */
  background: -webkit-linear-gradient(top, rgba(16, 27, 30, 0) 0%, rgba(12, 2, 2, 1) 90%); /* Chrome10+, Safari5.1+ */
  background: -o-linear-gradient(top, rgba(16, 27, 30, 0) 0%, rgba(12, 2, 2, 1) 90%); /* Opera 11.10+ */
  background: -ms-linear-gradient(top, rgba(16, 27, 30, 0) 0%, rgba(12, 2, 2, 1) 90%); /* IE10+ */
  background: linear-gradient(to bottom, rgba(16, 27, 30, 0) 0%, rgba(12, 2, 2, 1) 90%); /* W3C */
  filter: progid:DXImageTransform.Microsoft.gradient( startColorstr='#00101b1e', endColorstr='#0c0202', GradientType=0 ); /* IE6-9 */
}

.photo-box aside span {
  color: #aaa;
}

.photo-box aside span a {
  color: #ccc;
  text-decoration: none;
}

.text-box {
  background: rgb(49, 49, 49); /* bluish grey */
  color: rgb(255, 190, 94); /* steel blue */
}

.text-box-head {
  color: #fff;
  padding-bottom: 0.2em;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.text-box-subhead {
  font-weight: normal;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.form-box {
  text-align: center;
  font-size: 120%;
  border-bottom: 1px solid #eee;
}

.form-box .pure-button {
  background-color: #61B842;
  color: white;
  vertical-align: top;
  font-size: 85%;
  font-weight: 400;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: 4px;
  margin: 0.3em;
}

.pure-form input[type] {
  margin: 0.3em auto;
  text-align: center;
}

.footer {
  background: #111;
  color: #666;
  text-align: center;
  padding: 1em;
  font-size: 80%;
}

@media (min-width:30em) {
  .photo-box,
  .text-box {
    text-align: left;
  }

  .photo-box-thin {
    height: 250px;
  }
}

.canvas {
  display: inline-block;
  max-width: 60%;
  position: relative;
  top: 30%;
  transform: translateY(-30%);
  -webkit-transform: translateY(-30%);
  -ms-transform: translateY(-30%);
}

.arrow {
  color: #333;
  font-size: 6em;
  margin-top: -305px;
  opacity: .9;
  padding: 250px 100px;
  position: absolute;
  text-decoration: none;
  top: 50%;
}

.arrow:active {
  background: transparent;
  color: #fec723;
}

.arrow.left {
  left: -250px;
}

.arrow.right {
  right: -250px;
}

#preview {
  position: absolute;
  text-align: center;
  z-index: 1;
}

#preview .visible {
  height: 100%;
  position: fixed;
  width: 100%;
}

#preview .overlay {
  height: 100%;
  position: fixed;
  width: 100%;
  background: rgba(255,255,255,.8);
}

#preview .overlay-close {
  position: absolute;
  top: -20px;
  right: -20px;
  z-index: 10;
  display: block;
  width: 40px;
  height: 40px;
  color: #fff;
  background-color: #333;
  font-size: 30px;
  text-decoration: none;
  line-height: 35px;
  text-align: center;
  border-radius: 50%;
}

#preview .pure-img {
  position: relative;
  border-radius: 2px;
  box-shadow: 0 27px 24px 0 rgba(0,0,0,.7);
}
